#include "gd32f4xx.h"
#include "usart0.h"



void usart0_on_recv(uint8_t* data, uint32_t len) {
    printf("%s\n", data);
}

int main(void) {

	  systick_config();
    nvic_priority_group_set(NVIC_PRIGROUP_PRE2_SUB2);
    usart0_init();
    printf("init\n");
    while (1) {
    }
    return 0;
}


